package com.hong.controller;
import com.hong.service.DemoUserService;
import org.springframework.web.bind.annotation.*;

import org.springframework.beans.factory.annotation.Autowired;

/**
* (demo_user)表控制层
*
* @author xxxxx
*/
@RestController
@RequestMapping("/demo_user")
public class DemoUserController {
/**
* 服务对象
*/
    @Autowired
    private DemoUserService demoUserService;

    /**
    * 通过主键查询单条数据
    *
    * @param id 主键
    * @return 单条数据
    */
//    @GetMapping("selectOne")
//    public DemoUser selectOne(Integer id) {
//    return demoUserService.selectByPrimaryKey(id);
//    }

}
